package cn.com.chengmandian.core.web.pojo.txmap;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("路径规划Route")
public class Route {

    @ApiModelProperty("方案交通方式")
    private String mode;

    @ApiModelProperty("方案整体距离，单位：米")
    private Integer distance;

    @ApiModelProperty("方案估算时间，单位：分钟")
    private Integer duration;

    @ApiModelProperty("方案路线坐标点串（该点串经过压缩，解压请参考：polyline 坐标解压）")
    private BigDecimal[] polyline;

    @ApiModelProperty("方案整体方向")
    private String direction;

    @ApiModelProperty("路线步骤")
    private List<Step> steps;

}
